package com.ctshk.rpc.finance.dto.onaccount;

import com.ctshk.rpc.finance.json.FileJson;
import com.ctshk.rpc.finance.json.OffAccountAmountJson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 销账记录Dto
 */
@Data
@ApiModel(value = "OffAccountApplyInfoDTO",description = "销账记录Dto")
public class OffAccountApplyInfoDTO implements Serializable {

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "收款方式名称")
    private String paymentMethodName;

    @ApiModelProperty(value = "收款时间")
    private LocalDateTime collectionTime;

    @ApiModelProperty(value = "是否返还额度")
    private Integer isReturnAmount;

    @ApiModelProperty(value = "销账说明")
    private String remark;

    @ApiModelProperty(value = "收款凭证JSON")
    private List<FileJson> collectionFilesJson;

    @ApiModelProperty(value = "金额JSON")
    private List<OffAccountAmountJson> amountJson;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "申请人名称")
    private String applyUserName;

    @ApiModelProperty(value = "申请人部门")
    private String applyUserDept;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime gmtCreate;

}
